//
//  BlutoothModel.h
//  FLORIDA
//
//  Created by 魏延(颜魏) on 2024/12/9.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class BlutoothModel;
@interface BlutoothGroupModel : NSObject

@property (nonatomic, copy) NSString *groupId;
@property (nonatomic, copy) NSString *groupName;
@property (nonatomic, strong) NSArray<BlutoothModel *> *bluList;

- (NSDictionary *)toDict;
+ (NSString *)toJson:(NSArray<BlutoothGroupModel *> *)array;
+ (NSArray<BlutoothGroupModel *> *)jsonCovertToModel:(NSString *)json;

@end

@interface BlutoothModel : NSObject

@property (nonatomic, copy) NSString *cusName;
@property (nonatomic, copy) NSString *name;
//@property (nonatomic, copy) NSString *uuid;

- (NSString *)toJson;
- (NSDictionary *)toDict;
+ (BlutoothModel *)covertToModel:(NSString *)json;

@end

NS_ASSUME_NONNULL_END
